﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NormList.aspx.cs" Inherits="CJJCH.Web.Manage.NormList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/SystemCss.css" rel="stylesheet" type="text/css" />
    <script src="../JScript/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="../lhgdialog/lhgcore.min.js" type="text/javascript" language="javascript"></script>
    <script src="../lhgdialog/lhgdialog.js" type="text/javascript" language="javascript"></script>
    <script src="../Script/JQcheck.js" type="text/javascript"></script>
    <script src="../Calendar/WdatePicker.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function ShowFinish(varID) {
            var dlg = new J.ui.dialog({ id: 'd2', title: '规范解释详情', width: 800, height: 600, cover: true, btns: false, rang: true, resize: false, page: 'NormDetails.aspx?ID=' + varID });
            dlg.ShowDialog();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <div runat="server" id="divHidden" visible="false">
                <asp:Label ID="lblKeyword" runat="server"></asp:Label>
                <asp:Label ID="lblOrderType" runat="server"></asp:Label>
                <asp:Label ID="lblOrderKey" runat="server"></asp:Label>
                <asp:Label ID="lblKeyType" runat="server"></asp:Label>
                <asp:Label ID="lblBeTime" runat="server"></asp:Label>
                <asp:Label ID="lblEdTime" runat="server"></asp:Label>
            </div>
            <uc:NormTop ID="NormTop1" runat="server" IIndex="1" />
            <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
                <tr>
                    <td width="1" height="100%" class="Left">
                    </td>
                    <td height="100%" style="width: auto; height: 100%; background: #d7e7ff;">
                        <div class="MainbodyTop" style="margin-bottom: 5px;">
                            <div class="MainSearch" style="width: 100%; margin: 5px 0px 5px 0px;">
                                <table border="0" cellpadding="2" cellspacing="0" width="auto">
                                    <tr>
                                        <td>
                                            标题：<asp:TextBox ID="txtKeyword" runat="server" class="InputSearch_x1"></asp:TextBox>
                                        </td>
                                        <td>
                                            类别：<asp:DropDownList ID="dropNormType" runat="server" class="InputSearch_x1">
                                                <asp:ListItem Text="所有" Value="0"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                        <td>
                                            发布时间：
                                            <asp:TextBox runat="server" ID="txtBegin" class="InputSearch_x1" onkeydown="return false;"
                                                onkeypress="return false;" onpaste="return false;" oncut="return false;" onfocus="new WdatePicker({dateFmt:'yyyy-MM-dd',skin:'blue',isShowClear:true,maxDate:'#F{$dp.$D(\'txtEnd\')}',onpicked:function(){$dp.$('txtEnd').focus();}});"
                                                CssClass="EditInPut" Width="70px"></asp:TextBox>至
                                            <asp:TextBox runat="server" ID="txtEnd" class="InputSearch_x1" onkeydown="return false;"
                                                onkeypress="return false;" onpaste="return false;" oncut="return false;" onfocus="new WdatePicker({dateFmt:'yyyy-MM-dd',skin:'blue',isShowClear:true,minDate:'#F{$dp.$D(\'txtBegin\')}'});"
                                                CssClass="EditInPut" Width="70px"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:Button ID="btnSearch" runat="server" Text="搜索" Style="padding: 2px 10px 3px 10px"
                                                Width="62px" CssClass="BtnSearch_x1" OnClick="btnSearch_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </td>
                    <td class="Right" height="100%">
                    </td>
                </tr>
            </table>
        </div>
        <div class="RBodyTable_x2 Link_font" style="width: 99%;">
            <table width="99%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                class="font">
                <tr>
                    <th width="45%" align="center" valign="middle" class="HeaderBg">
                        <asp:LinkButton ID="lbtnTitle" runat="server" ToolTip="点击可排序" OnClick="lbtnTitle_Click">标题</asp:LinkButton>
                    </th>
                    <th width="10%" align="center" valign="middle" class="HeaderBg">
                        <asp:LinkButton ID="lbtnType" runat="server" ToolTip="点击可排序" OnClick="lbtnType_Click">类别</asp:LinkButton>
                    </th>
                    <th width="10%" align="center" valign="middle" class="HeaderBg">
                        <asp:LinkButton ID="lbtnHits" runat="server" ToolTip="点击可排序" OnClick="lbtnHits_Click">点击率</asp:LinkButton>
                    </th>
                    <th width="15%" align="center" valign="middle" class="HeaderBg">
                        发布时间
                    </th>
                    <th width="10%" align="center" valign="middle" class="HeaderBg">
                        操作
                    </th>
                </tr>
                <asp:Repeater ID="rptNorm" runat="server" OnItemDataBound="rptNorm_ItemDataBound">
                    <ItemTemplate>
                        <tr class="tdBg1">
                            <td align="center" valign="middle">
                                <asp:LinkButton ID="lbtnTitle" runat="server"></asp:LinkButton>
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblType" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblHits" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:Label ID="lblPlusDate" runat="server"></asp:Label>
                            </td>
                            <td align="center" valign="middle">
                                <asp:LinkButton ID="lbtnEdit" runat="server" OnClick="lbtnEdit_Click">修改</asp:LinkButton>
                                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtbDel_Click">删除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <asp:Literal ID="litMessage" runat="server"></asp:Literal>
        </div>
        <div class="MainPage_x1" style="width: 100%; margin: 5px auto;">
            <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged"
                AlwaysShow="true" runat="server" PageSize="15" NumericButtonCount="5" ShowCustomInfoSection="Right"
                PagingButtonSpacing="5" HorizontalAlign="Right" SubmitButtonText="转到" SubmitButtonClass="inputsubmit"
                NumericButtonTextFormatString="[{0}]" NextPageText="下一页" FirstPageText="首页" CssClass="anpager"
                CurrentPageButtonClass="cpb" LastPageText="尾页" PrevPageText="上一页">
            </webdiyer:AspNetPager>
        </div>
    </div>
    </form>
</body>
</html>
